package com.xinfu.newproject.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.xinfu.newproject.R;
import com.xinfu.newproject.base.BaseActivity;
import com.xinfu.newproject.ui.meter.QRCodeAddMeterActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class AddElectricWaterMetterActivity extends BaseActivity {

    @BindView(R.id.activity_add_electric_water_meter)
    TextView addMeterTv;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_add_electric_water_meter);
        ButterKnife.bind(this);
        registerBack();
        Bundle bundle = getIntent().getExtras();
        setActivityTitle(bundle.getString("title"));
        initViewBind();
        initLisener();
    }

    private void initLisener() {

    }

    private void initViewBind() {

    }

    @OnClick({R.id.activity_add_electric_water_meter})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.activity_add_electric_water_meter:
                Bundle bundle = new Bundle();
                bundle.putString("type", getIntent().getExtras().getString("type"));
                startIntentActivity(QRCodeAddMeterActivity.class, bundle);
                break;
        }
    }
}
